package cn.kioye.mvc.controller;

import cn.kioye.mvc.annotation.Autowired;
import cn.kioye.mvc.annotation.RequestMapping;
import cn.kioye.mvc.annotation.RestController;
import cn.kioye.mvc.service.TestService;

/**
 * @author kioye
 * @date 2021-06-07 下午 08:22
 */
@RestController
@RequestMapping("test")
public class TestController {

    @Autowired
    private TestService testService;

    @RequestMapping("test")
    public String test() {
        return testService.test();
    }

}
